#include <stdio.h>

void swap(int x, int y);

int main(void)
{
	int a = 5, b = 10;
	
	printf("Before function call:\ta = %d, b = %d\n", a, b);
	swap(a, b);
	printf("After function call:\ta = %d, b = %d\n", a, b);
	
	return 0;
}

void swap(int x, int y)
{
	int temp;
	
	temp = x;
	x = y;
	y = temp;
}